package routers

import (
	"github.com/astaxie/beego"
	"github.com/astaxie/beego/context/param"
)

func init() {

    beego.GlobalControllerRouter["ufile_go/controllers:UFileController"] = append(beego.GlobalControllerRouter["ufile_go/controllers:UFileController"],
        beego.ControllerComments{
            Method: "GetBucketList",
            Router: `/api_bucketList`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["ufile_go/controllers:UFileController"] = append(beego.GlobalControllerRouter["ufile_go/controllers:UFileController"],
        beego.ControllerComments{
            Method: "DeleteFile",
            Router: `/api_deleteFile`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["ufile_go/controllers:UFileController"] = append(beego.GlobalControllerRouter["ufile_go/controllers:UFileController"],
        beego.ControllerComments{
            Method: "DownloadDecodePyFile",
            Router: `/api_downloadDecodePyFile`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["ufile_go/controllers:UFileController"] = append(beego.GlobalControllerRouter["ufile_go/controllers:UFileController"],
        beego.ControllerComments{
            Method: "DownloadFile",
            Router: `/api_downloadFile`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["ufile_go/controllers:UFileController"] = append(beego.GlobalControllerRouter["ufile_go/controllers:UFileController"],
        beego.ControllerComments{
            Method: "DownloadParsFile",
            Router: `/api_downloadParsFile`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

    beego.GlobalControllerRouter["ufile_go/controllers:UFileController"] = append(beego.GlobalControllerRouter["ufile_go/controllers:UFileController"],
        beego.ControllerComments{
            Method: "GetFileList",
            Router: `/api_fileList`,
            AllowHTTPMethods: []string{"post"},
            MethodParams: param.Make(),
            Filters: nil,
            Params: nil})

}
